﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Random.aspx.cs" Inherits="Random.Random" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
       #HtmlControlsDiv
       {
           float:left;
       }
       #AspControlsDiv
       {
           float:right;
       }
    </style>
</head>
<body>
<form runat="server">
    <div id="HtmlControlsDiv">
    <h3>Html controls form</h3>
        <input type="text" id="minimum" runat="server" /> <br />
        <input type="text" id="maximum" runat="server" /> <br />
        <input type="button" id="submitButton" value="Generate"  runat="server" onserverclick="htmlButton_Click" /> <br />
        <span id="result" runat="server"></span>
    </div>

    <div id="AspControlsDiv">
    <h3>Asp controls form</h3>
        <asp:TextBox ID="aspMin" runat="server" /></asp:TextBox><br />
        <asp:TextBox ID="aspMax" runat="server" /></asp:TextBox><br />
        <asp:Button ID="aspSubmit" Text="Submit" runat="server" 
            onclick="aspSubmit_Click"  /><br />
        <asp:Label ID="aspRes" runat="server" Text=""></asp:Label>
    </div>
</form>
</body>
</html>
